package com.biz.primus.ms.depot.dao.ro;


import com.biz.primus.base.enums.DepotType;
import com.biz.primus.base.redis.annotation.Ro;
import com.biz.primus.base.redis.annotation.RoSortedSet;
import com.biz.primus.base.redis.bean.BaseRedisObject;
import com.biz.primus.model.depot.enums.BusinessStatus;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * 门店Ro
 *
 * @author lei
 * @date 2016/12/06
 * @reviewer
 * @see
 */
@Getter
@Setter
@ToString
@Ro(key = "depot:DepotRo")
@RoSortedSet(key = "list", score = "id")
public class DepotRo extends BaseRedisObject<Long> {

    private static final long serialVersionUID = 944907682181504806L;
    /**
     * 门店编码
     */
    private String depotCode;

    /**
     * 门店名称
     */
    private String name;

    /**
     * 门店详细地址
     */
    private String address;

    /**
     * 门店经度
     */
    private BigDecimal depotLongitude;

    /**
     * 门店纬度
     */
    private BigDecimal depotLatitude;

    /**
     * 省ID
     */
    private Long provinceId;

    /**
     * 省的百度名称
     */
    private String provinceBaiduName;

    /**
     * 市ID
     */
    private Long cityId;

    /**
     * 市的百度名称
     */
    private String cityBaiduName;

    /**
     * 区ID
     */
    private Long districtId;

    /**
     * 区的百度名称
     */
    private String districtBaiduName;

    /**
     * 门店类型
     */
    private DepotType depotType;

    /**
     * 门店营业状态
     */
    private BusinessStatus bizStatus;

    /**
     * 门店开始营业时间
     */
    private Timestamp beginBusiness;

    /**
     * 门店结束营业时间
     */
    private Timestamp endBusiness;

    /**
     * 是否可发物流
     */
    private Boolean enableExpress;

    /**
     * 规模
     */
    private String scale;

    /**
     * 上级机构ID
     */
    private String orgId;

    /**
     * 上级机构类型
     */
    private String orgType;

    /**
     * 面积
     */
    private String proportion;

    /**
     * 邮政编码
     */
    private String zipCode;

    /**
     * 商圈
     */
    private String bizArea;

    /**
     * 联系电话
     */
    private String telPhone;
}
